<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <!-- <input type="checkbox" value="boy" v-model="checked"> -->
        <!-- <input type="checkbox" value="girl" v-model="checked"> -->
        <!-- <input type="radio" value="girl" v-model="checked"> -->

        <input
            id="lab"
            type="checkbox"
            v-model="toggle"
            v-bind:true-value="a"
            v-bind:false-value="b"
        >
        <!-- <input type="checkbox" v-model="checked">
        <input type="checkbox" v-model="checked"> -->
        <label for="lab">{{toggle}}</label>

        <!-- <input type="checkbox" id="jack" value="Jack" v-model="checkedNames">
        <label for="jack">Jack</label>
        <input type="checkbox" id="john" value="John" v-model="checkedNames">
        <label for="john">John</label>
        <input type="checkbox" id="mike" value="Mike" v-model="checkedNames">
        <label for="mike">Mike</label>
        <br>
        <span>Checked names: {{ checkedNames }}</span> -->
    </div>
    <script src="../js/vue.js" charset="utf-8"></script>
    <script type="text/javascript">

        var vm = new Vue({
            el: '#app',
            data: {
                toggle: false,
                a: 'yes',
                b: 'no'
            }
        })
        // new Vue({
        //     el: '#app',
        //     data: {
        //         checkedNames: []
        //     }
        // })
    </script>
</body>
</html>
